<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>小米布局</title>
    <link rel="stylesheet" href="xiaomi.css">
    <style>
        span {
            position: absolute;
            left: 50px;
        }
    </style>
</head>

<body>
    <div class="container">
        <div class="left"></div>
        <div class="right">
            <div class="item"></div>
            <div class="item"></div>
            <div class="item"></div>
            <div class="item"></div>
            <div class="item"></div>
            <div class="item"></div>
            <div class="item"></div>
            <div class="item"></div>
        </div>
    </div>
    <span></span>
    <style>
        .b4::before {
            content: 'before';
        }

        .b4::after {
            content: 'after';
        }
    </style>
    <div>abc</div>
    <div class="b1"></div>
    <div class="b2">
        <div class="b3"></div>
    </div>

    <div class="b4">

        <p>把参考</p>
    </div>
</body>

</html>